package com.yidu.ladder.delivery.domain;

import java.io.Serializable;
import java.sql.Time;
import java.util.Date;

/**
 * 合作网络实体类
 * 
 * @author yy
 * @since 2019-12-20
 *
 */
public class Cooperation implements Serializable {

	/**
	 * 序列号
	 */
	private static final long serialVersionUID = 5472987123509390913L;

	/**
	 * 合作网络Id
	 */
	private String cooperationId;

	/**
	 * 合作网络代码
	 */
	private String cooperationCode;

	/**
	 * 合作网络名
	 */
	private String cooperationName;

	/**
	 * 晚点标准(单位:小时)
	 */
	private Time delayStandard;

	/**
	 * 作废标志
	 */
	private String cancellationMark;

	/**
	 * 修改时间
	 */
	private Date updateTime;

	/**
	 * 是否可用
	 */
	private String useable;

	/**
	 * 空的构造方法
	 */
	public Cooperation() {

	}

	/**
	 * 带有参数的构造方法
	 * 
	 * @param cooperationId    合作网络Id
	 * @param cooperationCode  合作网络代码
	 * @param cooperationName  合作网络名
	 * @param delayStandard    晚点标准(单位:小时)
	 * @param cancellationMark 作废标志
	 * @param updateTime       修改时间
	 * @param useable          是否可用
	 */
	public Cooperation(String cooperationId, String cooperationCode, String cooperationName, Time delayStandard,
			String cancellationMark, Date updateTime, String useable) {
		super();
		this.cooperationId = cooperationId;
		this.cooperationCode = cooperationCode;
		this.cooperationName = cooperationName;
		this.delayStandard = delayStandard;
		this.cancellationMark = cancellationMark;
		this.updateTime = updateTime;
		this.useable = useable;
	}

	public String getCooperationId() {
		return cooperationId;
	}

	public void setCooperationId(String cooperationId) {
		this.cooperationId = cooperationId;
	}

	public String getCooperationCode() {
		return cooperationCode;
	}

	public void setCooperationCode(String cooperationCode) {
		this.cooperationCode = cooperationCode;
	}

	public String getCooperationName() {
		return cooperationName;
	}

	public void setCooperationName(String cooperationName) {
		this.cooperationName = cooperationName;
	}

	public Time getDelayStandard() {
		return delayStandard;
	}

	public void setDelayStandard(Time delayStandard) {
		this.delayStandard = delayStandard;
	}

	public String getCancellationMark() {
		return cancellationMark;
	}

	public void setCancellationMark(String cancellationMark) {
		this.cancellationMark = cancellationMark;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getUseable() {
		return useable;
	}

	public void setUseable(String useable) {
		this.useable = useable;
	}

	@Override
	public String toString() {
		return "Cooperation [cooperationId=" + cooperationId + ", cooperationCode=" + cooperationCode
				+ ", cooperationName=" + cooperationName + ", delayStandard=" + delayStandard + ", cancellationMark="
				+ cancellationMark + ", updateTime=" + updateTime + ", useable=" + useable + "]";
	}

}
